# -*- coding: utf-8 -*-
# @Time       : 2019/7/14 上午12:30
# @Author     : Simon
# @Email      :
# @File       : __init__.py.py
# @Software   : PyCharm
# @Description:
import os
__all__=["config"]

class Config:
    LEVEL="DEBUG"

class LocalDebugConfig(Config):
    LEVEL = "DEBUG"

cnf_name=os.getenv("env","product")

configEnv={
    "product":Config,
    "localdebug":LocalDebugConfig
}

config=configEnv[cnf_name]